package com.hut.mst.dao;

import com.hut.mst.pojo.User;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

@Repository
public interface UserMapper {
    /**
     * 登录
     * @param uid
     * @return
     */
    User loginByUid(Integer uid, String password);

    /**
     * 保存用户密码
     * @param user
     * @return
     */
    User saveUserByUid(User user);
}
